package com.springcloud.sc.ucp.v5.api.mongo.ucpdb;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@Document(collection = "media")
public class MediaInfoData implements Serializable {

    private String callref;
    private String date;
    private String dn;
    private String filename;
    private String fromip;
    private String fromipex;
    private String grpdn;
    private String grpflag;
    private String oprdn;
    private String playlen;
    private String storetime;
    private String vi;

    @Override
    public String toString() {
        return "MediaInfoData{" +
                "callref='" + callref + '\'' +
                ", date='" + date + '\'' +
                ", dn='" + dn + '\'' +
                ", filename='" + filename + '\'' +
                ", fromip='" + fromip + '\'' +
                ", fromipex='" + fromipex + '\'' +
                ", grpdn='" + grpdn + '\'' +
                ", grpflag='" + grpflag + '\'' +
                ", oprdn='" + oprdn + '\'' +
                ", playlen='" + playlen + '\'' +
                ", storetime='" + storetime + '\'' +
                ", vi='" + vi + '\'' +
                '}';
    }
}


